CC = gcc
CFLAGS = -Wall -Wextra
LDFLAGS = -luv

TARGETS = server client

.PHONY: all clean

all: $(TARGETS)

server: server.c
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

client: client.c
	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

clean:
	rm -f $(TARGETS) 